/* 
 * File:   fft.hpp
 * Author: gian
 *
 * Created on July 20, 2012, 1:23 PM
 */

#ifndef FFT_HPP
#define	FFT_HPP

#include <map>
#include <fftw3.h>
#include "vector.hpp"

class real_fft {
public:
    real_fft(int size);
    virtual ~real_fft();
    void operator()(vector* in, cvector* out);
private:
    int mSize;
    fftw_plan mPlan;
    double *mIn;
    fftw_complex *mOut;
};


#endif	/* FFT_HPP */

